How can I change array value(inside array of objects) without mutating the container

visit shbcf.ru